package com.xinjie.www.service.thumb;

import com.xinjie.www.po.Collect;
import com.xinjie.www.po.Thumb;

import java.sql.SQLException;
import java.util.List;

public interface ThumbService {
    public boolean doThumb(int postId, int userId, String time) throws SQLException, ClassNotFoundException;
    public List<Thumb> getThumb(int userId) throws SQLException, ClassNotFoundException;
    public boolean cancelThumb(int thumbId,int postId) throws SQLException, ClassNotFoundException;
}
